﻿/**
 * @author sminutoli
 * Vincula el movieclip con las clases de actionScript
 * 
 */
class com.dinmax.axiomaweb.buttonbar.section.SectionItemBridge extends MovieClip {
	
	private var text:String;
	
	private var txt_label:TextField;
	private var mcBorder:MovieClip;
	
	function onLoad():Void{
		trace("SectionItemBridge.as | onLoad()");
		mcBorder._visible = false;
		txt_label.html= true;
		this.text = txt_label.text;
	};
	
	function onRollOver():Void {
		mcBorder._visible = true;
		txt_label.htmlText = "<b> "+text+"</b>";
	};
	
	function onRollOut():Void {
		mcBorder._visible = false;
		txt_label.htmlText = text;
	};
	
	function onPress():Void {
		
	};
	
};